package day21_28.day26;

import java.util.*;


public class Solution {

    public int jumpFloorII (int number) {

        if(number == 1 ){
            return 1;
        }else if(number == 2){
            return 2;
        }
        else if (number < 1){
            return 0;
        }
        return  2 * jumpFloorII(number - 1);
    }
}
